package com.util;

public class NumberUtil {
	public static boolean isLong(String str) {
		if (str == null || str.length() == 0) {
			return false;
		}

		try {
			Long.valueOf(str);
		} catch (NumberFormatException e) {
			return false;
		}

		return true;
	}
}
